package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

public class QuestionType {
    public QuestionType() {
    }

    public QuestionType(Integer pkKid, String ukKname) {
        this.pkKid = pkKid;
        this.ukKname = ukKname;
    }

    @Override
    public String toString() {
        return "QuestionType{" +
                "pkKid=" + pkKid +
                ", ukKname='" + ukKname + '\'' +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column question_type.pk_kid
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer pkKid;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column question_type.uk_kname
     *
     * @mbggenerated
     */
    private String ukKname;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question_type.pk_kid
     *
     * @return the value of question_type.pk_kid
     *
     * @mbggenerated
     */
    public Integer getPkKid() {
        return pkKid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question_type.pk_kid
     *
     * @param pkKid the value for question_type.pk_kid
     *
     * @mbggenerated
     */
    public void setPkKid(Integer pkKid) {
        this.pkKid = pkKid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question_type.uk_kname
     *
     * @return the value of question_type.uk_kname
     *
     * @mbggenerated
     */
    public String getUkKname() {
        return ukKname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question_type.uk_kname
     *
     * @param ukKname the value for question_type.uk_kname
     *
     * @mbggenerated
     */
    public void setUkKname(String ukKname) {
        this.ukKname = ukKname == null ? null : ukKname.trim();
    }
}